package com.nuc.impl2;

/**
 * Time    : 2023/3/28 21:35
 * Author  : 王摇摆
 * FileName: IronWeapon.java
 * Software: IntelliJ IDEA 2020.2.2
 * Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
 */

public class IronWeapon  implements IWeapon{
    @Override
    public String getName() {
        return "铁剑";
    }

    @Override
    public void attackMonster(Monster monster) {
        monster.handle(this.getName(),50);
    }
}
